package com.team.employment.web.admin.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.team.employment.model.entity.ResumeInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.team.employment.web.admin.dto.ResumeSearchDto;
import com.team.employment.web.admin.dto.UserQueryDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author jade
* @description 针对表【resume_info(简历信息表)】的数据库操作Mapper
* @createDate 2025-04-11 15:49:27
* @Entity com.team.employment.model.entity.ResumeInfo
*/
public interface ResumeInfoMapper extends BaseMapper<ResumeInfo> {
    IPage<ResumeInfo> pageQueryInfo(IPage<ResumeInfo> page, ResumeSearchDto resumeSearchDto);
    int deleteByUserId(@Param("userId") Long userId);
    IPage<ResumeInfo> findByCompanyId(@Param("page") Page<ResumeInfo> page, @Param("id") Long id);

    int AcceptResume(@Param("id") Long id);
    int rejectResume(@Param("id") Long id);

}




